package com.zhao.objectAdapter.pojo;

public abstract class Computer {
    private String board;

    private String keyboard;

    protected String OS;

    public String getBoard() {
        return board;
    }

    public void setBoard(String board) {
        this.board = board;
    }

    public String getKeyboard() {
        return keyboard;
    }

    public void setKeyboard(String keyboard) {
        this.keyboard = keyboard;
    }

    public String getOS() {
        return OS;
    }

    @Override
    public String toString() {
        return "Computer{" +
                "board='" + board + '\'' +
                ", keyboard='" + keyboard + '\'' +
                ", OS='" + OS + '\'' +
                '}';
    }

    public abstract void setOS();
}
